define at3_ganglia_srv($clustername, $clientlist) {
  include httpd
  
  package { ["ganglia", "ganglia-web", "ganglia-gmetad"]:
    ensure => installed,
  }
  
  file { "/etc/gmetad.conf":
    owner => "root",
    group => "root",
      mode => 644,
    content => template("at3_ganglia_srv/etc-gmetad.conf.tpl"),
    notify => Service["gmetad","httpd"],
  }
  
  service { ["gmetad"]:
    ensure => running,
    enable => true,
    hasstatus => true,
    hasrestart => true,
    require => Package ["ganglia", "ganglia-web", "ganglia-gmetad"],
  }
  
}

define at3_ganglia_srv_reverse($webaddr, $roleid) {
}

